Lua Player for PSP |
|
Developer(s) | Frank Buß, Joachim Bengtsson and David Perry |
Initial release | ? |
Stable release | V0.20 [±] |
Preview release | [±] |
Written in | C++ |
Operating system | PlayStation Portable (XMB), PlayStation 3 (XMB) |
Available in | English |
Type | Programming tools |
License | Open source |
Website | LuaPlayer.org |
Lua for the PlayStation Portable is interpreted with Lua Player. Lua Player is a homebrew application which can run lua scripts and display them on the Sony PSP through graphical bindings. The current version is 0.20, however v0.17DK2 and Lua Player Mod, which are unofficial versions are still used by users on PSP Firmware version 2.00+. Most versions of the application can be downloaded from the LuaPlayer.org website. Lua Player can only run the source code of Lua scripts, and can not compile them into standalone software applications.
Contents |
The programming language for Lua Player is almost identical to that of Lua programming language. Below is an example of a basic hello world program.
green = Color.new(0, 255, 0) while true do screen:clear() screen:print(200,100, "Hello World!", green) screen.flip() end
Lua Player is an open source project, and was originally maintained by Frank Buß (Shine) and Joachim Bengtsson (Nevyn), before being passed on to David Perry (InsertWittyName).
Only the changes in the latest version are shown here.
To load a library in lua just add a dofile("libname.lua").
Some common libraries are:
Lowser is the official PSP based browser for lua scripts. It is written in Lua Language itself however is quite basic. Lowser is what is set to autoload when LuaPlayer is started, however this can be changed.
|